# $Id: PKGBUILD 90137 2013-05-07 05:26:33Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: GONG Chen <chen dot sst at gmail dot com>
# Contributor: 網軍總司令

pkgname=ibus-rime
pkgver=0.9.9
pkgrel=1
pkgdesc="Rime input method engine for ibus"
arch=('i686' 'x86_64')
url="http://code.google.com/p/rimeime/"
license=('GPL3')
depends=('ibus' 'libnotify' 'librime>=0.9.9' 'brise')
makedepends=('cmake')
install='ibus-rime.install'
source=("http://rimeime.googlecode.com/files/$pkgname-$pkgver.tar.gz")

build() {
  cd "$srcdir/$pkgname"
  make
}

package() {
  cd "$srcdir/$pkgname"
  make DESTDIR="$pkgdir" install
}

sha512sums=('b18e6f3ba6c97e3b55900d9c4cb70d58f24b202bf2ae894ca861af10ddb028c193d9ac97e609f3b4f0f183b212b74180a02e5d823f235b4c799733933a48afb7')
